
######################################

ASSETS_PATH := $(SOURCE_PATH)/generated_assets

SRC_PATH := .

CREATE_ASSET := cd ./assets && python ./generate_assets.py $(GAME_NAME) $(PARENT_DIR) && python ./copy_assets.py $(GAME_NAME) $(PARENT_DIR)

game_assets:
	$(CREATE_ASSET)

$(ASSETS_PATH)/z88dk_gameboy.asm: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/6x8_chars.h: $(6X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/6x9_chars.h: $(6X9_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/7x8_chars.h: $(7X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/8x8_chars.h: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cc65_nes_tiles.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cc65_nes_color_tiles.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cc65_pce_tiles.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cc65_gamate_tiles.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cc65_udc.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cc65_udc_arcade.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cc65_udc_arcade_27_tiles_v2.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cc65_udc_arcade_v2.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cc65_udc_vic20_64_chars.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cc65_udc_63_chars.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cc65_udc_64_chars.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cc65_udc_arcade_64_chars.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cc65_udc_6chars.s: $(8X8_TILES)
	$(CREATE_ASSET)
    
$(ASSETS_PATH)/cc65_udc_vic20_19_tiles.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cc65_udc_vic20_25_tiles.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cmoc_udc_tiles.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cmoc_udc_tiles_and_fonts.s: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/z88dk_cpc_Chars8.asm: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/z88dk_sprites_definitions.h: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/z88dk_xchase.asm: $(8X8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/cmoc_udc_25_tiles.s: $(8x8_TILES)
	$(CREATE_ASSET)

$(ASSETS_PATH)/8x6_tiles.s: $(8x6_TILES)
	$(CREATE_ASSET)
    
$(ASSETS_PATH)/8x6_c_definition.h: $(8x6_TILES)
	$(CREATE_ASSET)